import java.util.Scanner;

public class Test3 {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        // 注意 hasNext 和 hasNextLine 的区别
        while (in.hasNext()) { // 注意 while 处理多个 case
            char[] cc = in.nextLine().toCharArray();
            int sum = 0;
            for (char c : cc) {
                sum += (c-'0');
            }
            if (sum % 2 != 0) {
                System.out.println("No");
                return;
            }
            int[][] dp = new int[cc.length+1][sum/2+1];
            for (int i = 1; i <= cc.length; i++) {
                for (int j = 0; j <= sum/2; j++) {
                    dp[i][j] = dp[i-1][j];
                    if (j >= cc[i-1]-'0') {
                        dp[i][j] = Math.max(dp[i][j], dp[i-1][j-(cc[i-1]-'0')] + cc[i-1]-'0');
                    }
                }
            }
            System.out.println(dp[cc.length][sum/2] == sum/2 ? "Yes" : "No");
        }
    }
}
